home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 April: Mac OS SDK / Dev.CD Apr 00 SDK1.toast / Development Kits / Mac OS / Open Transport 1.3 / Open Transport SDK / Open Tpt Module Developer / Samples / Makefile.SampleModules.PPC < prev    next >
Encoding:
Makefile  |  1998-04-30  |  1.8 KB  |  69 lines  |  [TEXT/MPS ]

  1. #
  2. #    File:        Makefile.SampleModules.PPC
  3. #
  4. #    Contains:    Makefile for the Module Samples
  5. #
  6. #    Copyright:    © 1993-1995 by Apple Computer, Inc., all rights reserved.
  7. #
  8. #
  9.  
  10. COptions = {MyPreCOptions}  -notOnce -proto strict -sym off -opt size -shared_lib_export on -export_list "{Tempfolder}"Temp.out {MyCOptions}
  11.  
  12. StdCIncludes = -i "{OTIncludes}" -i "{OTModIncludes}" -i "{CIncludes}"
  13.  
  14. .c.o    ƒ    .c
  15.     MrC {DepDir}{Default}.c -o {Targ} {COptions} {StdCIncludes}
  16.  
  17. all    ƒ    "OTSampleModuleLib" EchoModule.xc FilterModule.xc
  18.  
  19. EchoModule.xc        ƒ EchoModule.c.o
  20.     PPCLink -xm SharedLibrary -export GetOTInstallInfo,InitStreamModule ∂
  21.     -outputformat xcoff -share global ∂
  22.     -o {Targ} ∂
  23.     EchoModule.c.o ∂
  24.     "{OTLibs}"OpenTptModuleLib
  25.  
  26. EchoModule.pef        ƒ EchoModule.c.o
  27.     PPCLink -xm SharedLibrary -export GetOTInstallInfo,InitStreamModule ∂
  28.     -outputformat pef -share global ∂
  29.     -o {Targ} ∂
  30.     EchoModule.c.o ∂
  31.     "{OTLibs}"OpenTptModuleLib 
  32.     
  33.  
  34. EchoModuleLib    ƒƒ    EchoModule.pef
  35.     Rez -d LIB_NAME=∂"OTModl$SmplEcho∂" -c otan -t shlb ∂
  36.         -s ":" ∂
  37.         -o {Targ} ∂
  38.         StdCFMLib.r
  39.  
  40. EchoModuleLib    ƒƒ EchoModule.pef
  41.     Duplicate -d -y EchoModule.pef {Targ}
  42.     
  43. FilterModule.xc        ƒ FilterModule.c.o
  44.     PPCLink -xm SharedLibrary -export GetOTInstallInfo,InitStreamModule ∂
  45.     -outputformat xcoff -share global ∂
  46.     -o {Targ} ∂
  47.     FilterModule.c.o ∂
  48.     "{OTLibs}"OpenTptModuleLib
  49.  
  50. FilterModule.pef        ƒ FilterModule.c.o
  51.     PPCLink -xm SharedLibrary -export GetOTInstallInfo,InitStreamModule ∂
  52.     -outputformat pef -share global ∂
  53.     -o {Targ} ∂
  54.     FilterModule.c.o ∂
  55.     "{OTLibs}"OpenTptModuleLib
  56.     
  57. FilterModuleLib        ƒƒ    FilterModule.pef
  58.     Rez -d LIB_NAME=∂"OTModl$SmplFilter∂" -c otan -t shlb ∂
  59.         -s ":" ∂
  60.         -o {Targ} ∂
  61.         StdCFMLib.r
  62.  
  63. FilterModuleLib    ƒƒ FilterModule.pef
  64.     Duplicate -d -y FilterModule.pef {Targ}
  65.  
  66. OTSampleModuleLib ƒ FilterModuleLib EchoModuleLib
  67.     MergeFragment FilterModuleLib EchoModuleLib {Targ}; ∂
  68.     SetFile -c 'otan' {Targ}
  69.